Total Complexity | 20 |
Dependencies | 23 |
Dependents | 1 |
Total lines | 187 |
Lines of code | 97 |
Logical lines of code | 50 |
Comment lines | 65 |
Methods | 8 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
check_if_gutenberg_editor() | 58 | 6 | 16 | |
ensure_blocks() | 50 | 3 | 27 | |
filter_post_rest_response() | 66 | 3 | 8 | |
product_shortcode_to_block() | 55 | 1 | 19 | |
check_if_classic_editor() | 70 | 2 | 7 | |
set_classic_editor_hooks() | 66 | 2 | 9 | |
replace_blocks_with_shortcodes() | 66 | 2 | 8 | |
set_gutenberg_editor_hooks() | 77 | 1 | 3 |